#include "ScnsBeep.c.h"

#if defined(SCNS_BEEP_ENABLE)&&SCNS_BEEP_ENABLE==1

ScnsStatus scnsBspBeepInit(void)
{
    gpio_init(D12,GPO,0,GPO_PUSH_PULL);
    return SCNS_STATUS_OK;
}

ScnsStatus scnsBspBeepPostInit(void)
{
    return SCNS_STATUS_OK;
}

void scnsBspBeepSet(ScnsBeepTone status)
{
    gpio_set(D12,status!=SCNS_BEEP_TONE_OFF);
}

#endif